package com.grade.system.entity;


import lombok.*;

@Data

@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class Grade {


    private int id;
    private int student_id;
    private String course_name;
    private double score;
    private String in_date;

    public Grade(int student_id, String course_name, double score) {
        this.student_id = student_id;
        this.course_name = course_name;
        this.score = score;
    }

    public Grade(int id, int student_id, String course_name, double score) {
        this.id = id;
        this.student_id = student_id;
        this.course_name = course_name;
        this.score = score;
    }
}
